* {
    border: 0px;
    padding: 0px;
}

a {
    font-size: 12px;
    color: darkgray;
}

body {
    background: url("../imgs/background.jpg") no-repeat;
    background-size: cover;
    text-align: center;
}

#login {
    position: absolute;
    width: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    display: inline-block;
    text-align: left;
    padding: 8px 32px 32px 32px;
    border-radius: 5px;

    /*设置块阴影*/
    box-shadow: -10px 10px 50px;
}

#login div#login-head {
    margin-top: 20px;
    margin-bottom: 20px;
}

#login div#login-head h3 {
    padding-bottom: 10px;
    border-bottom: 1px solid #cccccc;
    text-align: center;
}

.account {
    margin-bottom: 16px;
    height: 32px;
    position: relative;
}

.separator {
    position: absolute;
    left: 30px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background-color: #cccccc;
}

.account img {
    position: absolute;
    left: 8px;
    top: 8px;
}

input.ap {
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    height: 100%;
    padding-left: 38px;
    box-sizing: border-box;
    border-radius: 5px;
    border: solid 1px #cccccc;
}

input.ap:focus {
    outline: none;
    border-color: #eb9650;
    box-shadow: 0 0 15px #eb9650;
}

.pwd {
    margin-bottom: 8px;
    height: 32px;
    position: relative;
    margin-bottom: 15px;
}

.pwd img {
    position: absolute;
    left: 8px;
    top: 8px;
}

input.checkbox {
    margin: 0px;
}

.forget-pwd {
    float: right;
}

#login-btn-bg {
    margin-top: 15px;
    text-align: center;
}

#login-btn {
    background-color: #eb9650;
    color: white;
    width: 100%;
    height: 40px;
    font-size: 16px;
    border-radius: 5px;
}

#login-btn:focus {
    outline: none;
}

#register-bg {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 12px;
}

#register-bg a {
    color: #eb9650;
}

#login-foot {
    /*background-color: #eb9650;*/
    height: 38px;
    line-height: 38px;
    font-size: 15px;
}

#login-foot img {
    width: 30px;
    height: 30px;

    /*图片垂直居中*/
    vertical-align: middle;
}